package cn.com.scooper.dao.xf;

import cn.com.scooper.pojo.po.MineIotDevicePo;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MineIotDeviceDao {
    int deleteByPrimaryKey(Integer id);

    int insert(MineIotDevicePo record);

    MineIotDevicePo selectByDeviceId(String deviceId);

    int updateByPrimaryKey(MineIotDevicePo record);

    List<MineIotDevicePo> selectAll(MineIotDevicePo record);

    int batchDeleteByDeviceIdList(@Param("deviceIdList") List<String> deviceIdList);
}